package com.ruoyi.deviceLog.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公司设备日常检查记录对象 device_log
 *
 * @author zjh
 * @date 2022-05-10
 */
public class DeviceLog extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private String beginTime;
    private String endTime;
    /**
     * 公司设备日常检查记录表
     */
    private Long logId;
    /**
     * 公司id
     */
    @Excel(name = "公司id")
    private Long companyId;
    /**
     * 设备id
     */
    @Excel(name = "设备id")
    private Long deviceId;
    /**
     * 设备状态 1 正常  2 更换
     */
    @Excel(name = "设备状态 1 正常  2 更换")
    private String deviceStatus;

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(String deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("logId", getLogId())
                .append("companyId", getCompanyId())
                .append("deviceId", getDeviceId())
                .append("deviceStatus", getDeviceStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
